import Components from 'unplugin-vue-components/vite'
import { VantResolver } from '@vant/auto-import-resolver'

export default function createUseComponents() {
  return Components({
    resolvers: [VantResolver()],
    dts: 'src/types/auto-use-components.d.ts',
    // dirs: ['src/WLib'],
  })
}
